package com.lvzero.answer.service;

import com.lvzero.answer.base.BaseService;
import com.lvzero.answer.common.Result;
import com.lvzero.answer.mapper.QuestionsMapper;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 题目的 service
 */
@Service
public class QuestionsService extends BaseService<QuestionsMapper> {


    /**
     * 获取题目
     * @return
     */
    public Result getQuestions() {
        return Result.success(mapper.getQuestions());
    }
}
